<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>校园首页</title>
    <link rel="stylesheet" href="第一张.html">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background-color: #f5f5f5;
            color: #333;
            line-height: 1.6; /* 统一行高，优化文字垂直间距 */
            background-image: url("湘信塘湾湖.png");
            background-size: cover;
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* 头部样式 - 优化文字对齐 */
        header {
            background: linear-gradient(135deg, #1a5fb4 0%, #1c71d8 100%);
            color: white;
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center; /* 头部整体垂直居中 */
        }
        
        .logo {
            display: flex;
            align-items: center; /* logo图片与文字垂直居中对齐 */
        }
        
        .logo img {
            height: 50px;
            width: auto;
            margin-right: 15px;
            object-fit: contain;
            border-radius: 3px;
        }
        
        .logo h1 {
            font-size: 24px;
            font-weight: bold;
            line-height: 1; /* 消除标题额外行高，确保与图片对齐 */
        }
        
        nav ul {
            display: flex;
            list-style: none;
            align-items: center; /* 导航文字垂直居中 */
        }
        
        nav ul li {
            margin-left: 20px;
            position: relative;
        }
        
        nav ul li a {
            color: white;
            text-decoration: none;
            padding: 10px 15px;
            border-radius: 5px;
            transition: background-color 0.3s;
            display: inline-block; /* 确保点击区域与文字对齐 */
        }
        
        nav ul li a:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }
        
        .search-box {
            display: flex;
            align-items: center; /* 搜索框内文字与图标垂直居中 */
            background: white;
            border-radius: 20px;
            padding: 5px 15px;
            margin-left: 30px;
        }
        
        .search-box input {
            border: none;
            outline: none;
            padding: 8px 0; /* 只保留上下内边距，避免左右偏移 */
            width: 200px;
            background: transparent;
            text-align: left; /* 搜索文字左对齐 */
        }
        
        .search-box button {
            background: none;
            border: none;
            cursor: pointer;
            color: #1a5fb4;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* 内容区样式 */
        .main-content {
            padding: 30px 0;
            min-height: 60vh;
        }
        
        /* 轮播图样式 - 优化文字对齐 */
        .carousel {
            height: 400px;
            margin-bottom: 30px;
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .carousel-inner {
            height: 100%;
            position: relative;
            background-image: url("大剧院.png");
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: flex;
            align-items: center; /* 轮播主文字垂直居中 */
            justify-content: center; /* 轮播主文字水平居中 */
            color: white;
            font-size: 24px;
            font-weight: bold;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
            background-color: rgba(0, 0, 0, 0.2);
        }
        
        .carousel-control {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.7);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
        
        .carousel-control.prev {
            left: 15px;
        }
        
        .carousel-control.next {
            right: 15px;
        }
        
        .carousel-caption {
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
            text-align: center; /* 轮播底部文字水平居中 */
            color: white;
            background: rgba(0, 0, 0, 0.5);
            padding: 10px;
            font-size: 16px;
            line-height: 1.4;
        }
        
        /* 内容网格布局 - 统一文字对齐 */
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 30px;
        }
        
        .card {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .card h2 {
            color: #1a5fb4;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #e6f0ff;
            text-align: left; /* 卡片标题左对齐 */
            font-size: 20px;
            line-height: 1.2;
        }
        
        .research-card {
            background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
            color: white;
            padding: 15px;
            border-radius: 8px;
            margin-top: 15px;
        }
        
        .research-card h3 {
            text-align: left; /* 科研成果标题左对齐 */
            margin-bottom: 8px;
            font-size: 18px;
        }
        
        .research-card p {
            text-align: left; /* 科研成果正文左对齐 */
            font-size: 14px;
            line-height: 1.6;
        }
        
        .event-list {
            list-style: none;
        }
        
        .event-list li {
            padding: 10px 0;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center; /* 活动日期与文字垂直居中 */
        }
        
        .event-list li:last-child {
            border-bottom: none;
        }
        
        .event-date {
            background: #1a5fb4;
            color: white;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 12px;
            margin-right: 10px;
            line-height: 1; /* 日期标签文字垂直居中 */
        }
        
        /* 底部样式 - 优化文字对齐 */
        footer {
            background: rgba(44, 44, 44, 0.9);
            color: white;
            padding: 40px 0 20px;
        }
        
        .footer-content {
            display: flex;
            justify-content: space-between;
            margin-bottom: 30px;
        }
        
        .footer-section {
            flex: 1;
            padding: 0 20px;
        }
        
        .footer-section h3 {
            margin-bottom: 15px;
            color: #1c71d8;
            text-align: left; /* 底部标题左对齐 */
            font-size: 18px;
        }
        
        .footer-section p {
            text-align: left; /* 底部正文左对齐 */
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 8px;
        }
        
        .copyright {
            text-align: center; /* 版权信息水平居中 */
            padding-top: 20px;
            border-top: 1px solid #444;
            font-size: 14px;
            line-height: 1.5;
        }
        
      
        .interaction-note {
            position: absolute;
            background: rgba(255, 255, 255, 0.9);
            padding: 10px;
            border-radius: 5px;
            border: 2px dashed #1a5fb4;
            z-index: 100;
            max-width: 200px;
            font-size: 14px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }
        
        .arrow {
            position: absolute;
            width: 2px;
            background: #1a5fb4;
        }
        
        .arrow::after {
            content: '';
            position: absolute;
            width: 10px;
            height: 10px;
            border-right: 2px solid #1a5fb4;
            border-top: 2px solid #1a5fb4;
        }
        
        .note-1 {
            top: 120px;
            right: 300px;
        }
        
        .note-2 {
            top: 250px;
            right: 150px;
        }
        
        .note-3 {
            top: 500px;
            left: 300px;
        }
    </style>
</head>
<body>
    <!-- 头部 -->
    <header>
        <div class="container header-content">
            <div class="logo">
                <img src="湘信院logo.png" alt="湖南信息学院logo">

            </div>
            <nav>
                <ul>
                    <li><a href="首页.html" class="active">首页</a></li>
                    <li><a href="校园风貌.html">校园风貌</a></li>
                    <li><a href="学校新闻.html">学校新闻</a></li>
                    <li><a href="校园活动.html">校园活动</a></li>
                    <li><a href="领导关怀.html">领导关怀</a></li>
                    <li><a href="音影资料.html">音影资料</a></li>
                </ul>
            </nav>
            <div class="search-box">
                <input type="text" placeholder="搜索校园内容...">
                <button><i class="fas fa-search"></i></button>
            </div>&nbsp;&nbsp;&nbsp;&nbsp;
            <a href="登录.html">登录</a>
        </div>
    </header>

    <!-- 内容区 -->
    <div class="container main-content">
        <!-- 轮播图 -->
        <div class="carousel">
            <div class="carousel-inner">
                
                <div class="carousel-caption">塘湾湖大剧院</div>
            </div>
            <div class="carousel-control prev">
                <i class="fas fa-chevron-left"></i>
            </div>
            <div class="carousel-control next">
                <i class="fas fa-chevron-right"></i>
            </div>
        </div>

        <!-- 内容网格 -->
        <div class="content-grid">
            <!-- 科研成果 -->
            <div class="card">
                <h2>最新科研成果</h2>
                <div class="research-card">
                    <h3>2025年省级软件竞赛一等奖</h3>
                    <p>我校计算机科学系开发的智能校园系统在全省高校软件竞赛中获得一等奖，该系统实现了校园管理的全面智能化。</p>
                </div>
                <div class="research-card" style="background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); color: #333;">
                    <h3>人工智能教学平台</h3>
                    <p>我校研发的AI教学平台成功应用于实际教学，大幅提升了学生的学习效率和兴趣。</p>
                </div>
            </div>

            <!-- 活动预告 -->
            <div class="card">
                <h2>近期活动预告</h2>
                <ul class="event-list">
                    <li><span class="event-date">09/15</span> 校园文化音乐节开幕式</li>
                    <li><span class="event-date">09/20</span> 名家讲座：人工智能的未来</li>
                    <li><span class="event-date">09/25</span> 校园编程大赛</li>
                    <li><span class="event-date">10/08</span> 秋季运动会</li>
                    <li><span class="event-date">10/15</span> 校园开放日</li>
                </ul>
            </div>
        </div>
    </div>

    <!-- 底部 -->
    <footer>
        <div class="container">
            <div class="footer-content">
                <div class="footer-section">
                    <h3>校园地址</h3>
                    <p>国家级长沙经济技术开发区毛塘工业园湖南信息学院</p>
                </div>
                <div class="footer-section">
                    <h3>联系电话</h3>
                    <p>招生办: 0731-84098666 </p>
                    <p>传真：0731-84098777</p>
                </div>
                <div class="footer-section">
                    <h3>快速链接</h3>
                    <p>校园信息系统</p>
                    <p>图书馆资源</p>
                    <p>教务管理系统</p>
                </div>
            </div>
            <div class="copyright">
                <p>&copy; 2025 科技校园 版权所有 | 许可证号：A10010065</p>
            </div>
        </div>
    </footer>

    <!-- 交互脚本 -->